go/printer.printer.flush (method)
6 uses
go/printer (current package)
nodes.go#L83: p.flush(p.posFor(g.List[0].Pos()), token.ILLEGAL)
nodes.go#L573: p.flush(p.posFor(rbrace), token.RBRACE) // make sure we don't lose the last line comment
nodes.go#L614: p.flush(p.posFor(rbrace), token.RBRACE) // make sure we don't lose the last line comment
printer.go#L987: wroteNewline, droppedFF := p.flush(next, p.lastTok)
printer.go#L1024: func (p *printer) flush(next token.Position, tok token.Token) (wroteNewline, droppedFF bool) {
printer.go#L1321: p.flush(token.Position{Offset: infinity, Line: infinity}, token.EOF)